import request from "@/axios/axiosss";

export function send_wb_file(params){
    return request({
        method: 'post',
        url: 'tt/wb/saveWBFile',
        headers:{
            "Content-Type": "multipart/form-data",
        },
        data: params
    })
}


export function send_wb(params){
    return request({
        method: 'post',
        url: 'tt/wb/sendWB',
        data: params
    })
}
export function delete_wb(params){
    return request({
        method: 'post',
        url: 'tt/wb/delete',
        params: params
    })
}

export function get_wb(params){
    return request({
        method: 'get',
        url: 'tt/wb/getWb',
        params: params
    })
}

export function get_img(params){
    return request({
        method: 'get',
        url: 'tt/common/getFile',
        params: params,
        responseType: 'blob'
    })
}